from pythonDemo.com.xyh.grammar.demo.electric_car import Car
class ElectDemo( Car ):
    """电动汽车的独特之处"""

    def __init__(self, make, model, year):
        """初始化父类的属性"""
        super().__init__( make, model, year )


if __name__ == '__main__':
    my_tesla = ElectDemo( 'tesla', 'model s', 2016 )
    print( my_tesla.get_descriptive_name() )
